
import com.jh.jutil.worker.Subject;
import com.jh.jutil.worker.AlertJob;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author namhh
 */
public class AlertJobImp extends AlertJob {

    public AlertJobImp(Subject subject) {
        super(subject);
    }

    @Override
    public void run() {
        System.out.println("Run " + this.getJobName());
        subject.alert(this, " DONE ");
        System.out.println( this.getJobName() + " DONE");
    }

    @Override
    public int update(Object object) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public int noftify(Object object) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

}
